﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>艺谷（深圳）后台管理系统</title>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}base.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}admin-all.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}bootstrap.min.css" />
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-1.7.2.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery.spritely-0.6.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}chur.min.js"></script>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}login.css" />
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}Validform_v5.3.2_min.js"></script>
</head>
<body>
    <form class="demoform" method="post" action=""onsubmit="return validate()">
    <div id="clouds" class="stage"></div>
    <div class="loginmain">
    </div>

    <div class="row-fluid">
        <h1>客户资源管理系统</h1>
        <p>
            <label>帐&nbsp;&nbsp;&nbsp;号：<input type="text" name="username" id="uid" datatype="*1-30" errormsg="账号最多30个字符！"/></label>
        </p>
        <p>
            <label>密&nbsp;&nbsp;&nbsp;码：<input type="password" name="password" id="pwd" datatype="*1-20" errormsg="密码最多20个字符！"/></label>
        </p>
        <p class="pcode">
            <label>验证码：<input type="text" id="code" name="chckcode"  maxlength="5" class="code" value="" datatype="*1-4" errormsg="验证码最多4个字符！"/>
                <img src="{:U('verifyImg')}" onclick="this.src='__CONTROLLER__/verifyImg/Math.random()'" alt="" class="imgcode" />
                <a onclick="$(this).prev('img').trigger('click');" href="#">下一张</a></label>
        </p>
        <P> &nbsp;&nbsp;<font color="red">{$err}</font>
        </P>
        <p class="tip">&nbsp;</p>
        <hr />
        <input type="submit" value=" 登 录 " class="btn btn-primary btn-large login" />
    </div>
    </form>
</body>
</html>
<script>
    $(".demoform").Validform();
</script>